1979a41e12feb3fd9f06f0d41b8b0ec7a2205ba6,app/src/main/java/com/greenaddress/abcore/DownloadInstallCoreIntentService.java,DownloadInstallCoreIntentService,unpack,#Packages.PkgH#String#File#String#,191

Before Change




        // Download file
        sendUpdate("Downloading", pkg);
        Utils.downloadFile(url, filePath, new Utils.OnDownloadSpeedChange() {
            @Override
            public void bytesPerSecondUpdate(final int bytes) {

After Change


        final String filePath = Utils.getFilePathFromUrl(this, url);


        if (!new File(filePath).exists() || Utils.isSha256Different(arch, sha256raw, filePath)) {

            // Download file
            sendUpdate("Downloading", pkg);
            Utils.downloadFile(url, filePath, new Utils.OnDownloadSpeedChange() {
                @Override
                public void bytesPerSecondUpdate(final int bytes) {